package com.example.netty_pipline.pipeline;

/**
 * 默认的ChannelHandlerContext实现
 * 包装具体的ChannelHandler，提供事件传播功能
 */
public class DefaultChannelHandlerContext extends AbstractChannelHandlerContext {
    
    public DefaultChannelHandlerContext(ChannelPipeline pipeline, String name, ChannelHandler handler) {
        super(pipeline, name, handler);
    }
    
    @Override
    public ChannelHandler handler() {
        return super.handler();
    }
}